package msg;





public class MsgRegistration implements java.io.Serializable{
    static final long serialVersionUID = -1L;
    private String login;
    private String passwdHash;
    private String email;
    private String name;
    private String surname;
    private String birthyear;
    private String town;

    public MsgRegistration(String login, String passwdHash, String email, String name, String surname, String birthyear, String town){
        this.login = login;
        this.passwdHash = passwdHash;
        this.email = email;
        this.name = name;
        this.surname = surname;
        this.birthyear = birthyear;
        this.town = town;
    }
    void display(){
        System.out.println("Imie: "+name+"\nWiek: "+birthyear+"\nPasswd: "+passwdHash+"\nEmail: "+email);
    }
}
